package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "user_freeze")
public class UserFreeze implements Serializable {

    private static final long serialVersionUID = 6739966698394689999L;

    private ObjectId id;
    private Integer userId;
    private Integer freezingTime;
    private Integer freezingRange;
    private String reasonsForFreezing;
    private String frozenRemarks;
    private String reasonsForThawing;

}
